cat SOC.v | grep bundle | grep -v reverse| cat -n | awk '{print "println( "$2".toStringAsWire("$1"))" }' > 1.tmp 

sed '/zzz/r 1.tmp'  bundle.scala.mother > src/bundle.scala
